package com.itheima.decorator;

/**
 * @author zzw
 * @date 2025/10/12
 * @description 炒饭
 */
public class FriedRice extends FastFood {

    public FriedRice() {
        super(10, "炒饭");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
